package com.zlp.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zlp.redis.RedisService;

@RestController
public class RedisController {
	
	@Autowired
	private RedisService redisService;
	
	@RequestMapping("test")
	public void test(){
		
		redisService.set("hello", "HELLO REDIS");
	}
}
